package de.tabiteuea.dbAccess;

/**
 * Corpus object
 * Represents a corpus
 * @author Erik Schreiber
 */
public class CorpusObject {	
	
	private int id;
	private String text;
	
	/**
	 * Constructor without params
	 */
	public CorpusObject(){
		
	}
	
	/**
	 * Constructor, with params
	 * @param text the actual text of the corpus
	 */
	public CorpusObject(String text){
		
		this.text = text;
		
	}

	/**
	 * Getter for id
	 * @return id of the corpus in the database
	 */
	public int getId() {
		return id;
	}

	/**
	 * Setter for id
	 * @param id id of the corpus in the database
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * Getter for text 
	 * @return the actual text of the corpus
	 */
	public String getText() {
		return text;
	}

	/**
	 * Setter for text
	 * @param text the actual text of the corpus
	 */
	public void setText(String text) {
		this.text = text;
	}
	
	
	
}
